//
// Created by 17775 on 2024/7/15.
//

#ifndef RAYCI_TIMEM_H
#define RAYCI_TIMEM_H

#include <QElapsedTimer>

class TimeM {
public:
    void start();
    void stop();
    void reset();
    double time() const;

private:
    QElapsedTimer timer;
    double elapsedTime = 0;
    bool isRunning = false;
};

#endif //RAYCI_TIMEM_H
